package com.kefu.admin.modules.tgqmdj.service;

import com.kefu.admin.modules.sys.model.AreaModel;
import com.kefu.admin.modules.sys.model.User;
import com.kefu.admin.modules.tgqmdj.model.TgCommtable;
import com.kefu.admin.modules.tgqmdj.model.TgShEntity;
import com.kefu.admin.modules.tgqmdj.model.Tgctms;

import java.util.List;
import java.util.Map;

/**
 * Created by TWD on 2018/10/17.
 */
public interface TgdService {

    List<TgCommtable> querycommtable();
    void initCommtable();

    List<AreaModel> queryAreaList(Map<String, Object> params);

    List<Tgctms> queryCtMsg(Map<String, Object> params);
    
    List<Tgctms> queryCtMsg(Tgctms Tgctms);
    List<Tgctms> queryMyCtMsg(Tgctms Tgctms);
    List<Tgctms> queryMyCtMsgImg(Tgctms Tgctms);

    int saveCtMsg(Tgctms tgctms);
    int saveMyCtMsg(Tgctms tgctms);

    int updStatus(Tgctms tgctms);
    
    int updateStatusBatch(List<String> ids, int hideflag);

    List<TgShEntity> queryAllShhList(TgShEntity tgShEntity);

    List<TgShEntity> queryPidShhList(Long pid,String wordhh);

    int updateShhInfo(TgShEntity tgShEntity);

}
